@model zhangmenren.Models.EnterpriseEntity

<div class="bg-white">

	<header class="mui-bar mui-bar-nav head-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href='@Url.Action("Index")'></a>
		<h1 class="mui-title">企业名录</h1>
        <a class="mui-icon mui-icon-more mui-pull-right" onclick="jsBridge.share()"></a>
	</header>
	<!--DOM -->
	<div class="mui-content bg-white">
		<!-- Swiper -->
		<div class="swiper-container index-banner-swiper">
			<div class="swiper-wrapper">
				
				@if (!string.IsNullOrEmpty(Model.Imgs))
				{
				var img = Model.Imgs.Split(',');
				foreach (var im in img)
				{
				<div class="swiper-slide">
					<img class="swiper-lazy" data-src="@im"/>
				</div>
				}
				}
				<!-- <div class="swiper-slide">
					<img class="swiper-lazy" data-src="/images/qymlDetail-banner-img1.jpg" alt="" />
				</div>
				<div class="swiper-slide">
					<img class="swiper-lazy" data-src="/images/qymlDetail-banner-img1.jpg" alt="" />
				</div> -->
			</div>
			<div class="swiper-pagination"></div>
		</div>
		<div class="mui-content-padded">
			<h2 style="font-size: 18px;margin-top: 20px; color: #000;" class="mui-text-center">@Model.Name</h2>
			<span style="width: 20px;height: 2px;display: block;margin: 10px auto;background-color: #666666;"></span>
			<p style="font-size: 14px;color: #333;">@Model.Present</p>
			<p>联系人：@Model.Contacts</p>
			<p>联系电话：@Model.Tel</p>
			<p>资源可共享区域：@Model.Area</p>
			<p>公司实力：</p>
			<ul class="qyml-detail-imglist">
				@if (!string.IsNullOrEmpty(Model.Imgs))
				{
				var img = Model.Imgs.Split(',');
				foreach (var im in img)
				{
				<li>
					<img src="@im" />
				</li>
				}
				}




				@*<li>
					<img src="/images/qyml-detail-img2.png" alt="" />
				</li>
				<li>
					<img src="/images/qyml-detail-img3.png" alt="" />
				</li>*@
			</ul>
		</div>
	</div>
</div>
@section Scripts{
<script type="text/javascript" charset="utf-8">
	//
	var swiper = new Swiper('.swiper-container', {
		slidesPerView: 3,
		speed: 700,
		spaceBetween: 0,
		slidesPerView: 'auto',
		centeredSlides: true,
		loop: true,
		pagination: {
			el: '.swiper-pagination',
			clickable: true,
		},
		//          autoplay: {
		//              delay: 3000,
		//              stopOnLastSlide: false,
		//              disableOnInteraction: false,
		//          },
		lazy: {
			loadPrevNext: true,
			loadOnTransitionStart: false,
			loadPrevNextAmount: 1,
		},
	});

	swiper.lazy.load();


   $.ajax({
    type:'post',
    url:'@Url.Action("LiuLan")',
    data:{id:@Model.Id},
    success:function(){

    }
   })

</script>

}
